package com.fuyin.commons.response;

/**
 * @author yuanxilan (yuanxilan@keep.com)
 * @Description
 * @date 2021年10月26日 2:46 下午
 * @since
 */

public class ErrorCode {

    // 未修改
    public static final int NOT_MODIFIED = 304;

    // 请求出错
    public static final int BAD_REQUEST = 400;

    // 用户没有登录
    public static final int UNAUTHORIZED = 401;

    // 用户没有权限
    public static final int FORBIDDEN = 403;

    // 资源未找到
    public static final int NOT_FOUND = 404;

    // 客户端请求中的方法被禁止
    public static final int METHOD_NOT_ALLOWED = 405;

    // 操作过于频繁
    public static final int OPERATION_FREQUENCY = 406;

    // 请求超时
    public static final int REQUEST_OVERTIME = 408;

    // 账号不存在
    public static final int ACCOUNT_NOT_FOUND = 412;

    // 账号未启动
    public static final int ACCOUNT_NOT_USED = 413;

    // 账号密码错误
    public static final int ACCOUNT_ERROR = 414;

    // 服务器无法处理请求附带的媒体格式
    public static final int UNSUPPORTED_MEDIA_TYPE = 415;

    // 重复注册
    public static final int REPEAT_REGISTER = 416;

    // 新旧密码相同
    public static final int ACCOUNT_NEW_OLD_PSW_SAME = 417;

    // 抓取不到股票信息
    public static final int GP_NOT_FOUND = 418;

    // 该邮箱所属用户不存在
    public static final int EMAIL_USER_NOT_FOUND = 419;

    // 邮箱已被注册
    public static final int EMAIL_USED = 420;

    // 暂时不支持该股票的爬取
    public static final int GP_NOT_SUPPORTED = 421;

    // 密码不符合规范
    public static final int PASSWORD_NOT_MATCH_PATTERN = 422;

    // 验证码错误
    public static final int VerificationCode_ERROR = 423;

    // 验证码超时
    public static final int VerificationCode_TIMEOUT = 424;

    // 文件格式错误，建议在模版文件中修改
    public static final int FILE_ERROR = 425;

    // 文件行数不符合要求
    public static final int FILE_ROWS_ERROR = 426;

    // 后台异常
    public static final int INTERNAL_SERVER_ERROR = 500;

    // 请用户继续操作
    public static final int NEED_CONTINUE_OPERATE = 100;

    // 接口未实现
    public static final int INTERFACE_NOT_FINISH = 1000;

    // 参数错误
    public static final int ENTITY_PARAM_ERROR = 1001;

    // 没有查询到数据
    public static final int NOT_FOUND_DATA = 1002;

}
